package com.melly.demo1.service.cluster.impl;


import com.melly.demo1.clusterMapper.ClusterUserMapper;
import com.melly.demo1.model.cluster.ClusterUser;
import com.melly.demo1.service.cluster.ClusterUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class ClusterUserServiceImpl implements ClusterUserService {

    @Resource
    ClusterUserMapper clusterUserDao;


    @Override
    public List<ClusterUser> getAll(){
        return clusterUserDao.getAll();
    }

    @Override
    public void delMobile(List<String> mobiles) {
        clusterUserDao.delMobile(mobiles);
    }

    @Override
    public void updateCluster(List<String> mobiles, String status) {
        clusterUserDao.updateCluster(mobiles, status);
    }
}
